﻿using System;
using System.Web.Mvc;
using System.Web.Routing;

namespace Inovout.Web.Mvc
{
    public class ControllerComponentActivator : IControllerActivator
    {
        public IController Create(RequestContext requestContext, Type controllerType)
        {
            return ComponentRegistry.Resolve<IController>(controllerType);
        }
    }

}
